<center><img alt="header" src="<?php echo base_url(); ?>content/images/be_logo.jpg" width="60%" align="" height="90px">
<br>

<?php

$a=$this->input->post('a');
//$bar = '123aa';
$bar=$this->input->post('bar');
$unit=$this->input->post('unit');
?>
HASIL GENERATE BARCODE<br>
UNIT : <?php echo $unit; ?><br>
JUMLAH BARCODE : <?php echo $a; ?>
<table border="0" width="60%" align="center">
	<tr>
	<td align="center">
	<?php
for($i=1; $i<=$a; $i++){
	?>
	
	
	<img alt="" src="<?php echo base_url(); ?>kst_barcode/barcode/<?php echo strtoupper($unit.$bar);?>" />
	
	
	<?php
	}
?>	</td>
	</tr>
	</table>
<br>

<SCRIPT LANGUAGE="JavaScript"> 
if (window.print) {
document.write('<form><input type=button name=print value="Print" onClick="window.print()"><a href="<?php echo base_url(); ?>app/system/"><input type=button value="Kembali"></a></form>');
}
</script>

</center>